You searched for loot toggle keywords
1. loot toggle keywords
The 'toggle loot' has the option to special #keywords to the syntax, such
as 'toggle loot #scrabble'. This will allow you to loot only items from
corpses, such as only scrabble tiles, armor, etc. The #keyword must be
valid. See help 'item keywords' for a list of possible keywords. Up to 20
keywords can be added.